<?php

$nick=$_GET['nick'];
$pwd=$_GET['pwd'];

$user=$nick. " " .$pwd;

$fp = fopen("usuarios.txt","a");
fwrite($fp, $user . PHP_EOL);
fclose($fp);

?>